package domain.entities;

import framework.exceptions.EntityClassNotFoundException;


public class EntityFactory {
    
  public static Class<? extends IEntity> getEntityClass(EntitiesEnum entityType) throws EntityClassNotFoundException{
    switch(entityType){
      case EVERB: return EVerb.class;
      case ESUB: return ESub.class;
      default: throw new EntityClassNotFoundException(entityType);
    }
  }
}
